package cn.itedus.lottery.infrastructure.dao;

import cn.itedus.lottery.infrastructure.po.Award;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author 张佳伟
 */
@Mapper
public interface IAwardDao {
    /**
     * 根据awardId查询AwardInfo
     *
     * @param awardId awardId
     * @return Award
     */
    Award queryAwardInfo(String awardId);

    /**
     * 插入award数据
     *
     * @param req Award
     */
    void insertList(List<Award> req);
}
